package com.ljz.service;

import com.github.pagehelper.Page;
import com.ljz.entity.User;

import java.util.List;

public interface UserService {
    Page<User> findAll(String name, Integer currentPage, Integer pageSize);
    int save(User user);
    User findById(Integer id);
    int update(User user);
    int delete(Integer id);
}
